aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/[username]/settings
diff options
context:
space:
mode:
authorsecondl1ght <[email protected]>2022-09-16 12:28:53 -0600
committersecondl1ght <[email protected]>2022-09-16 12:28:53 -0600
commitf05093405ed58f688cecbe4382310c234415da56 (patch)
tree21ce5a6b6e39f0bef563755b8c2c1e16f6681953 /src/routes/[username]/settings
parent991e69b190e3a741cd027199ad1869c220ad677a (diff)
downloadcoinos-ui-f05093405ed58f688cecbe4382310c234415da56.tar.gz
coinos-ui-f05093405ed58f688cecbe4382310c234415da56.zip
format and temp disable username update until we fix breaking changes
Diffstat (limited to 'src/routes/[username]/settings')
-rw-r--r--src/routes/[username]/settings/_account.svelte5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/routes/[username]/settings/_account.svelte b/src/routes/[username]/settings/_account.svelte
index 573611af..8b9eeec5 100644
--- a/src/routes/[username]/settings/_account.svelte
+++ b/src/routes/[username]/settings/_account.svelte
@@ -72,9 +72,10 @@
<input type="email" name="email" bind:value={$user.email} />
</div> -->
+<!-- TODO fix breaking changes when user updates this field -->
<div>
<label for="username" class="font-bold mb-1 block">{$t('user.settings.username')}</label>
- <input type="text" name="username" bind:value={$user.username} />
+ <input disabled type="text" name="username" bind:value={$user.username} />
</div>
<div class="relative">
@@ -144,7 +145,7 @@
</div>
{/if}
<div class="ml-2 p-2">
-<!-- found missing translation -->
+ <!-- found missing translation -->
<button
type="button"
class="border rounded-2xl font-bold w-24 text-center px-0 py-2 hover:bg-primary"